{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/system/siteConfig')}">站点配置</a></li>
            <li class="layui-this"><a href="{:url('admin/system/siteProConfig')}">比例配置</a></li>
            <li class=""><a href="{:url('admin/system/sitePayConfig')}">支付配置</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/system/updateSiteProConfig')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">激活积分释放比例</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[reg_ratio]" value="{$site_pro_config.reg_ratio|default=''}" required  lay-verify="required" placeholder="请输入激活积分释放比例" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">重消释放比例</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[consume_ratio]" value="{$site_pro_config.consume_ratio|default=''}" required  lay-verify="required" placeholder="请输入重消释放比例%" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">推荐释放比例</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[share_ratio]" value="{$site_pro_config.share_ratio|default=''}" required  lay-verify="required" placeholder="请输入推荐释放比例" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">增值宝增值比例</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[balance_ratio]" value="{$site_pro_config.balance_ratio|default=''}" required  lay-verify="required" placeholder="请输入增值宝增值比例" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">分享奖比例</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[user_share_ratio]" value="{$site_pro_config.user_share_ratio|default=''}" required  lay-verify="required" placeholder="请输入分享奖比例" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">商家消费奖比例</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[consume_share_ratio]" value="{$site_pro_config.consume_share_ratio|default=''}" required  lay-verify="required" placeholder="请输入商家消费奖比例" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">最大红包金额</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[max_bonus]" value="{$site_pro_config.max_bonus|default=''}" required  lay-verify="required" placeholder="请输入最大红包金额" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">最小红包金额</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[min_bonus]" value="{$site_pro_config.min_bonus|default=''}" required  lay-verify="required" placeholder="请输入最大红包金额" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">推荐50人日封顶</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[fifty_day]" value="{$site_pro_config.fifty_day|default=''}" required  lay-verify="required" placeholder="请输入50人日封顶" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">推荐50人总封顶</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[fifty_total]" value="{$site_pro_config.fifty_total|default=''}" required  lay-verify="required" placeholder="请输入50人总封顶" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">推荐100人日封顶</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[hundred_day]" value="{$site_pro_config.hundred_day|default=''}" required  lay-verify="required" placeholder="请输入100人日封顶" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">推荐100人总封顶</label>
                        <div class="layui-input-block">
                            <input type="text" name="site_pro_config[hundred_total]" value="{$site_pro_config.hundred_total|default=''}" required  lay-verify="required" placeholder="请输入100人总封顶" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}